package com.minilcu.test;

import java.util.HashMap;
import java.util.Map;

public class ExecuteXml {

	public String firstMethod(HashMap inMap,HashMap outMap) {
		System.out.println("FirstMethod Executed.");
		System.out.println(inMap.get("userName")+":"+inMap.get("userId"));
		outMap.put("name", inMap.get("name").toString()+"firstMethod,");
		outMap.put("iid", inMap.get("iid").toString()+"firstMethod,");
		return "0000";
	}
	
	public String secondMethod(HashMap inMap,HashMap outMap){
		System.out.println("SecondMethod Executed.");
		System.out.println(inMap.get("name")+":"+inMap.get("iid"));
		outMap.put("name", inMap.get("name").toString()+"secondMethod,");
		outMap.put("iid", inMap.get("iid").toString()+"secondMethod,");
		return "0000";
	}
	
	public String thirdMethod(HashMap inMap,HashMap outMap){
		System.out.println("ThirdMethod Executed.");
		System.out.println(inMap.get("name")+":"+inMap.get("iid"));
		outMap.put("name", inMap.get("name").toString()+"thirdMethod,");
		outMap.put("iid", inMap.get("iid").toString()+"thirdMethod,");
		outMap.put("min", true);
		outMap.put("max", true);
		return "0000";
	}
	
	public String forthMethod(HashMap inMap,HashMap outMap){
		System.out.println("ForthMethod Executed.");
		System.out.println(inMap.get("name")+":"+inMap.get("iid"));
		outMap.put("name", inMap.get("name").toString()+"forthMethod,");
		outMap.put("iid", inMap.get("iid").toString()+"forthMethod,");
		return "0000";
	}
	
	public String fifthMethod(HashMap inMap,HashMap outMap){
		System.out.println("FifthMethod Executed.");
		System.out.println(inMap.get("name")+":"+inMap.get("iid"));
		outMap.put("name", inMap.get("name").toString()+"fifthMethod,");
		outMap.put("iid", inMap.get("iid").toString()+"fifthMethod,");
		return "0000";
	}
}